apf_policy_info

Configuration for To check if policies exist for a particular event_name resource.

Read/write properties

event_name<String>

APF event_name.

does_policy_exist<Boolean>

Flag indicating policies exist or not.

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

get

get

URL:https://<MGMT-IP>/nitro/v2/config/apf_policy_info

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "apf_policy_info":[{
      "event_name":<String_value>,
      "does_policy_exist":<Boolean_value>}]}